function spec = getSpectrum(obj, ID, varargin)
%GETSPECTRUM Get the Discrete Fourier Spectrum of specified signal.

    p = inputParser;
    p.addRequired('ID', @(x)validateattributes(x,{'numeric'},{'scalar','positive','integer','<=',obj.nSigs}));
    p.addParameter('window','Hann');   % FFT window
    p.parse(ID, varargin{:});
    
    spec = struct();
    
    spec.enbw;
    spec.freq;
    spec.spectrum;
    spec.spectrumDensity;
    spec.fft_window = p.Results.window;


end

